<meta charset="utf-8">

<ion-view view-title="精选" hide-back-button="true" >
	<!--overflow-scroll='true'-->
<style>
	.box {width: 100%;height: 160px;}	
	.Selected div> img {width: 100%;height: 100%;}
	.slider-pager {position: absolute;bottom: 20px;width: 98%;height: 5px;text-align: center;}
	.slider-pager .slider-pager-page {display: inline-block;margin: 0px 3px;width: 12px;color: white;text-decoration: none;opacity: 0.3;font-size: 10px;}
</style>
	<ion-content style='background-color:#EEEEEE;' class='Selected'>

		<ion-refresher ng-load='slider1()'  pulling-text="" on-refresh="doRefresh()" spinner="android">
		</ion-refresher>
		<!--下拉刷新-->
	
		<ion-slide-box id='ee'  on-slide-changed="bbb()" auto-play="true" does-continue="true" slide-interval=2000 show-pager="true" pager-click="pageClick(index)" active-slide="model.activeIndex" delegate-handle="delegateHandler">
			<ion-slide ng-repeat='p in advert track by $index'>
				<a ng-href="#/huodong/{{p.Id}}">
					<div class="box">
						<img ng-src="{{p.img}}"> </div>
				</a>
			</ion-slide>
			
		</ion-slide-box>

		<div class="main">

			<div class="content" ng-repeat='p in SActivities track by $index' >
				<a ng-href='#/user/{{p.sj}}'><h3 class="title"><img  ng-src="{{p.portrait}}" style="height: 2rem; width: 2rem;vertical-align: middle;"  /><span style="font-size: 1rem;">{{p.name}}</span>
					
					
				<samp style="float: right;margin-right: 0.25rem;" ng-if="p.tj!=0"><img  style="border: none;border-radius: 0;" src="img/5-121116134030.png"></samp>	
				</h3>
				</a><a ng-href="#/huodong/{{p.hdid}}">
					<div class="con">
						<img ng-src="{{p.hdfm}}" width="100%" height="100%" />
					</div>
					<h4 class="txt">{{p.title}}</h4>
					
					<p class="date">
						<span class="month">{{p.ksdate| date : 'MM-dd HH:mm '}}</span>开始
					</p>
					<div class="inner clearfix">
						<div class="address fl">{{p.dizi}}</div>
						<div class="price fr"><span>免费</span></div>
					</div>
				</a>
			</div>

			<!--<div  class="content">
				<h3 class="title"><img src="img/2.1.jpg" /><span>北星咖啡</span></h3>
				<div class="con">
					<img src="img/2.jpg" width="100%" height="100%" />
				</div>
				<h4 class="txt">北星2016万圣节小小烘焙师工作坊</h4>
				<p class="date">
					<span class="month">11</span>-<span class="day">11</span>
					<span class="time">19</span>:<span class="branch">30</span> 开始
				</p>
				<div class="inner clearfix">
					<div class="address fl">西城区</div>
					<div class="price fr"><b>免费</b></div>
				</div>
			</div>
			</div>-->
		<div class="main" ng-show='moredata'>
			<span style="font-size: 1rem;">唉~已经到底了(你真无聊！)</span>
 		</div>
	 <!--ng-if="!moredata"-->
  <ion-infinite-scroll ng-if="!moredata" on-infinite="loadMore()" distance="1%" ></ion-infinite-scroll>
	</ion-content>

</ion-view>